package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * (主观题还是客观题的枚举应用)
 * @author   gyp
 * @Date	 2018年2月28日
 */
public enum ObjectiveEnum implements IEnum {

	subjectiveType(1, "主观题"), ObjectiveType(2, "客观题");
	private int key;
	private String value;

	private ObjectiveEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}

}
